arr = [
	
]
arr2 =[
	
]
var randomBgIndex = Math.round(Math.random() * 3294);
var randomBgIndex2 = Math.round(Math.random() *30);
console.info("分辨率："+$(window).width()+":"+$(window).height());

if($(window).width()<400 || $(window).height()<720){
	console.log("手机端")
	// let imgUrl = arr[randomBgIndex2];
	// console.log(imgUrl)
	let imgUrl = "https://api.anosu.top/img/?size=original"
	document.write('<style>body{background-image: url('+ imgUrl +'); background-size: cover;}</style>');
}else{
	console.log('电脑端')
	// let imgUrl = arr2[randomBgIndex2];
	// console.log(imgUrl)
	let imgUrl = "https://api.anosu.top/img/?size=original&sort=pc"
	document.write('<style>body{background-color: #1685a9; width:100%; height:100%; background:url(' + imgUrl + '); background-attachment:fixed; -moz-background-size: cover; -ms-background-size: cover; -webkit-background-size: cover; background-size: cover; background-position: center; z-index: 1;}</style>');
}

